using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace DecisionMaking.BusinessLogic.Model
{
    public class AlgorithmDefinitionModel
    {
        public int? DefinitionId { get; set; }
        public int? AccountId { get; set; }

        [Required]
        [DisplayName("Algorithm Engine")]
        [DataType(DataType.Text)]
        [StringLength(255)]	
        public string Engine { get; set; }

        [Required]
        [DisplayName("Name")]
        [DataType(DataType.Text)]
        [StringLength(50)]	
        public string Name { get; set; }

        [Required]
        [DisplayName("Code")]
        [DataType(DataType.MultilineText)]
        public string Code { get; set; }
    
    }
}